← Index
NYTProf Performance Profile   
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 14:31:06 2016
Reported on Fri Jan 8 14:33:30 2016

Filename(eval 1117)[/usr/share/perl5/CGI.pm:932]
StatementsExecuted 20 statements in 71µs
Eval Invoked At/usr/share/perl5/CGI.pm line 932
Sibling evals1, 2, 3, 4, 5, 6
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
0000s0sCGI::::deleteCGI::delete
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package CGI; #### Method: delete
2# Deletes the named parameter entirely.
3####
4sub delete {
5215µs1020µs my($self,@p) = self_or_default(@_);
# spent 20µs making 10 calls to CGI::self_or_default, avg 2µs/call
6224µs10207µs my(@names) = rearrange([NAME],@p);
# spent 207µs making 10 calls to CGI::Util::rearrange, avg 21µs/call
722µs my @to_delete = ref($names[0]) eq 'ARRAY' ? @$names[0] : @names;
82600ns my %to_delete;
922µs for my $name (@to_delete)
10 {
1121µs CORE::delete $self->{param}{$name};
122700ns CORE::delete $self->{'.fieldnames'}->{$name};
1326µs $to_delete{$name}++;
14 }
15218µs1054µs @{$self->{'.parameters'}}=grep { !exists($to_delete{$_}) } $self->param();
# spent 54µs making 10 calls to CGI::param, avg 5µs/call
1622µs return;
17}
18
19;